<template>
  <!-- 登陆页面 -->
  <div class="login-container">
    <header>广东省工业软件学会<span>为计算领域的专业人士服务</span></header>
    <!-- 主体内容 -->
    <div class="login-main">
      <router-view></router-view>
    </div>
    <footer></footer>
    <!-- 弹框 -->
    <Popup />
  </div>
</template>

<script>
import Popup from '@/components/Popup'

export default {
  name: 'Login',
  data() {
    return {
      isweixin: false,
      isusername: true,
    }
  },
  components: {
    Popup
  }
}
</script>

<style lang="less" scoped>
.login-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;

  header,
  footer {
    width: 1200px;
    height: 70px;
    margin: 0 auto;
  }

  header {
    line-height: 70px;
    font-size: 30px;
    font-weight: bold;
    color: #3b70bb;

    span {
      margin-left: 20px;
      font-size: 16px;
    }
  }

  .login-main {
    flex-grow: 1;
    width: 100%;
    background-color: #3b70bb;
  }
}
</style>